package com.hs.zhou.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.pagehelper.PageInfo;
import com.hs.zhou.pojo.Bill;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.scheduling.support.SimpleTriggerContext;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Xudongzhou
 * @since 2022-06-14
 */
public interface IBillService extends IService<Bill> {

    List<Bill> findAll(String consumerName);

    Bill findById(String orderNumber);

//    List<Bill> selectPageBill(Page<Bill> page , Wrapper<T> queryWrapper);

    List<Bill> selectPageBill(Page<Bill> page,QueryWrapper<Bill> queryWrapper);

    PageInfo<Bill> queryParamPage(Integer currentPage, Integer pageSize, String orderId, String comsuName, Integer billStatus);


}
